package com.zjcloud.jwgl.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.zjcloud.common.annotation.Excel;
import com.zjcloud.common.core.domain.BaseEntity;

/**
 * 年级信息对象 sc_grade
 * 
 * @author zjcloud
 * @date 2024-12-19
 */
public class ScGrade extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 年级ID */
    private Long id;

    /** 年级编码 */
    @Excel(name = "年级编码")
    private String gradeCode;

    /** 年级名称 */
    @Excel(name = "年级名称")
    private String gradeName;

    /** 学段(PRIMARY小学 MIDDLE中学 HIGH高中 UNIVERSITY大学) */
    @Excel(name = "学段", readConverterExp = "PRIMARY=小学,MIDDLE=中学,HIGH=高中,UNIVERSITY=大学")
    private String educationLevel;

    /** 年级序号 */
    @Excel(name = "年级序号")
    private Integer gradeOrder;

    /** 入学年份 */
    @Excel(name = "入学年份")
    private Integer enrollmentYear;

    /** 毕业年份 */
    @Excel(name = "毕业年份")
    private Integer graduationYear;

    /** 班级数量 */
    @Excel(name = "班级数量")
    private Integer classCount;

    /** 学生总数 */
    @Excel(name = "学生总数")
    private Integer studentCount;

    /** 状态(1启用 0禁用) */
    @Excel(name = "状态", readConverterExp = "1=启用,0=禁用")
    private String status;

    public void setId(Long id) 
    {
        this.id = id;
    }

    public Long getId() 
    {
        return id;
    }
    public void setGradeCode(String gradeCode) 
    {
        this.gradeCode = gradeCode;
    }

    public String getGradeCode() 
    {
        return gradeCode;
    }
    public void setGradeName(String gradeName) 
    {
        this.gradeName = gradeName;
    }

    public String getGradeName() 
    {
        return gradeName;
    }
    public void setEducationLevel(String educationLevel) 
    {
        this.educationLevel = educationLevel;
    }

    public String getEducationLevel() 
    {
        return educationLevel;
    }
    public void setGradeOrder(Integer gradeOrder) 
    {
        this.gradeOrder = gradeOrder;
    }

    public Integer getGradeOrder() 
    {
        return gradeOrder;
    }
    public void setEnrollmentYear(Integer enrollmentYear) 
    {
        this.enrollmentYear = enrollmentYear;
    }

    public Integer getEnrollmentYear() 
    {
        return enrollmentYear;
    }
    public void setGraduationYear(Integer graduationYear) 
    {
        this.graduationYear = graduationYear;
    }

    public Integer getGraduationYear() 
    {
        return graduationYear;
    }
    public void setClassCount(Integer classCount) 
    {
        this.classCount = classCount;
    }

    public Integer getClassCount() 
    {
        return classCount;
    }
    public void setStudentCount(Integer studentCount) 
    {
        this.studentCount = studentCount;
    }

    public Integer getStudentCount() 
    {
        return studentCount;
    }
    public void setStatus(String status) 
    {
        this.status = status;
    }

    public String getStatus() 
    {
        return status;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("gradeCode", getGradeCode())
            .append("gradeName", getGradeName())
            .append("educationLevel", getEducationLevel())
            .append("gradeOrder", getGradeOrder())
            .append("enrollmentYear", getEnrollmentYear())
            .append("graduationYear", getGraduationYear())
            .append("classCount", getClassCount())
            .append("studentCount", getStudentCount())
            .append("status", getStatus())
            .append("createBy", getCreateBy())
            .append("createTime", getCreateTime())
            .append("updateBy", getUpdateBy())
            .append("updateTime", getUpdateTime())
            .append("remark", getRemark())
            .toString();
    }
}